package org.grayrabbit.cms.plugin;

/**
 * @author sys53
 * @version 1.0
 * @created 06-一月-2012 15:56:24
 */
public interface PluginController {

	/**
	 * 
	 * @param pluginKey
	 */
	public void disablePlugin(String pluginKey);

	/**
	 * 
	 * @param pluginKey
	 */
	public void enablePlugin(String pluginKey);

	/**
	 * 
	 * @param pluginJar
	 */
	public void installPlugin(PluginJar pluginJar);

	public int scanForNewPlugins();

	/**
	 * 
	 * @param plugin
	 */
	public void uninstallPugin(Plugin plugin);

}